package org.jiuling.aliyun.sms.model;

import org.jiuling.aliyun.sms.model.enums.ShortUrlStatusEnum;

import java.util.Date;

/**
 * 查询短链接响应模型
 * @author 紫灵
 * @date 2023年02月21日 16时32分18秒
 */
public class QueryShortUrlResponseModel extends BaseResponseModel{

    /** 短链详情 */
    private Data data;

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public static final class Data{

        /** 短链创建时间 */
        private Date createDate;
        /** 短链失效时间 */
        private Date expireDate;
        /** 短链使用的PV数据 */
        private String pageViewCount;
        /** 生成的短链服务地址 */
        private String shortUrl;
        /** 短链服务名称 */
        private String shortUrlName;
        /** 短链状态 */
        private ShortUrlStatusEnum shortUrlStatus;
        /** 原始链接地址  */
        private String sourceUrl;
        /** 短链使用的UV数据 */
        private String uniqueVisitorCount;

        public Date getCreateDate() {
            return createDate;
        }

        public void setCreateDate(Date createDate) {
            this.createDate = createDate;
        }

        public Date getExpireDate() {
            return expireDate;
        }

        public void setExpireDate(Date expireDate) {
            this.expireDate = expireDate;
        }

        public String getPageViewCount() {
            return pageViewCount;
        }

        public void setPageViewCount(String pageViewCount) {
            this.pageViewCount = pageViewCount;
        }

        public String getShortUrl() {
            return shortUrl;
        }

        public void setShortUrl(String shortUrl) {
            this.shortUrl = shortUrl;
        }

        public String getShortUrlName() {
            return shortUrlName;
        }

        public void setShortUrlName(String shortUrlName) {
            this.shortUrlName = shortUrlName;
        }

        public ShortUrlStatusEnum getShortUrlStatus() {
            return shortUrlStatus;
        }

        public void setShortUrlStatus(ShortUrlStatusEnum shortUrlStatus) {
            this.shortUrlStatus = shortUrlStatus;
        }

        public String getSourceUrl() {
            return sourceUrl;
        }

        public void setSourceUrl(String sourceUrl) {
            this.sourceUrl = sourceUrl;
        }

        public String getUniqueVisitorCount() {
            return uniqueVisitorCount;
        }

        public void setUniqueVisitorCount(String uniqueVisitorCount) {
            this.uniqueVisitorCount = uniqueVisitorCount;
        }
    }

}
